////////////////////////////////////////////////////////////////////////////////
// Copyright 2007 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   POPUP_CATALOG_TREE
// AUTHOR           :   Saint Peng 
// DATE CREATE      :   2007/04/05
// DESCRIPTION      :   a COMMON VALIDATOR file for the function, POPUP_CATALOG_TREE
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2007/04/05   Saint Peng      1.0                 source is generated.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.catalog.catalogTreePopup.web;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

import com.erp.framework.controller.form.SimpleValidator;
import com.erp.framework.model.schema.TableSchema;

/**
* <p>A <strong>Common Validator</strong> provides validations to
* the user inputs on the web forms.
*
* @author          Saint Peng 
* @version 1.0     2007/04/05
* @since           FrameWork 1.1
*
*/
public class PopupCatalogTreeCommonValidator extends SimpleValidator {

//	The following classes can be used to access common utilities and delegate functions.
//	private PopupCatalogTreeCommonUtil util = new PopupCatalogTreeCommonUtil();
//	private PopupCatalogTreeCommonDelegate dg = new PopupCatalogTreeCommonDelegate();

	public void validateSearch(ActionErrors errors, ActionForm formIn) {

		PopupCatalogTreeForm form = (PopupCatalogTreeForm)formIn;
		TableSchema ts = form.getTs();

	}

	public void validateSave(ActionErrors errors, ActionForm formIn) {

		PopupCatalogTreeForm form = (PopupCatalogTreeForm)formIn;
		TableSchema ts = form.getTs();

	}

	public void moreValidateSearch(ActionMapping mapping, ActionForm formIn,
		HttpServletRequest request, HttpServletResponse response, ActionErrors errors) {

	}

	public void moreValidateSave(ActionMapping mapping, ActionForm formIn,
		HttpServletRequest request, HttpServletResponse response, ActionErrors errors) {

	}

}
